package com.easyedu.core.entity.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author liumengran
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Course implements Serializable {

    public Course(long openInstituteId, String openInstituteName, String courseCode, String courseName,
            long courseNature, long haveInClassExperiment, long examinationMethod, float credit, long gradeType,
            String note) {

        this.openInstituteId = openInstituteId;
        this.openInstituteName = openInstituteName;
        this.courseCode = courseCode;
        this.courseName = courseName;
        this.courseNature = courseNature;
        this.haveInClassExperiment = haveInClassExperiment;
        this.examinationMethod = examinationMethod;
        this.credit = credit;
        this.gradeType = gradeType;
        this.note = note;
    }

    private long courseId;
    private long openInstituteId;
    private String openInstituteName;
    private String courseCode;
    private String courseName;
    private long courseNature;
    private long haveInClassExperiment;
    private long examinationMethod;
    private float credit;
    private long gradeType;
    private String note;
    private java.sql.Timestamp createTime;
    private java.sql.Timestamp updateTime;

}
